package da.metricscraft.client.frames.layers;

import java.awt.Color;
import java.awt.Graphics;
import java.awt.Point;
import java.awt.image.BufferedImage;

import da.metricscraft.client.ArrayList2D;

public class BiomesLayer extends Layer<ArrayList2D<String, String>> {

	private static BiomesLayer singleton;
	public static BiomesLayer getInstance(){
		return singleton;
	}
	protected BiomesLayer(String name, Graphics g, Point size) {
		super(name, g, size);
		// TODO Auto-generated constructor stub
	}

	@Override
	public void update(boolean newdraw) {

		if (data != null){
			Graphics g = null;
			if (newdraw){
				layerImage = new BufferedImage((int)size.getX(), (int)size.getY(), BufferedImage.TYPE_INT_ARGB);
				g = layerImage.getGraphics();
			}
		}
	}

}
